﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Data.Linq.Mapping;
namespace DTO
{
    [Table(Name = "User")]
  public  class User
    {
        int _userId; 
       
        string _loginName;
     
        [Column(IsPrimaryKey = true, IsDbGenerated = true, Name = "UserId")]
       
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }

        [Column( Name = "LoginName")]
       public string LoginName
        {
            get { return _loginName; }
            set { _loginName = value; }
        }
        

    }
}
